﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GuanYijia.Application.OutPut
{
    public class ProductListDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int productid { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? product_name { get; set; }
        /// <summary>
        /// 产品类型编号
        /// </summary>
        public int? category_id { get; set; }
        /// <summary>
        /// 产品类型名称
        /// </summary>
        public string? name { get; set; }
        /// <summary>
        /// 产品类型名称
        /// </summary>
        public int? parent_id { get; set; }
        /// <summary>
        /// 基础重量
        /// </summary>
        public decimal? safety_stock { get; set; }
        /// <summary>
        /// 型号
        /// </summary>
        public string? model { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string? standard { get; set; }
        /// <summary>
        /// 颜色
        /// </summary>
        public string? color { get; set; }
        /// <summary>
        /// 单位-单个
        /// </summary>
        public string? unit { get; set; }
        /// <summary>
        /// 制造商
        /// </summary>
        public string? mfrs { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? remark { get; set; }
        /// <summary>
        /// 图片名称
        /// </summary>
        public string? img_name { get; set; }
        /// <summary>
        /// 计量单位Id
        /// </summary>
        public int? unit_id { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool enabled { get; set; } = true;
        /// <summary>
        /// 是否开启序列号
        /// </summary>
        public bool? enable_serial_number { get; set; }
        /// <summary>
        /// 租户id
        /// </summary>
        public int? tenant_id { get; set; }
        /// <summary>
        /// 当前库存数量
        /// </summary>
        public decimal? current_number { get; set; }
        /// <summary>
        /// 商品条码
        /// </summary>
        public string? bar_code { get; set; }
        /// <summary>
        /// 商品单位
        /// </summary>
        public string? commodity_unit { get; set; }
        /// <summary>
        /// 多属性
        /// </summary>
        public string? sku { get; set; }
        /// <summary>
        /// 采购价格
        /// </summary>
        public decimal? purchase_decimal { get; set; }
        /// <summary>
        /// 零售价格
        /// </summary>
        public decimal? commodity_decimal { get; set; }
        /// <summary>
        /// 销售价格
        /// </summary>
        public decimal? wholesale_decimal { get; set; }
        /// <summary>
        /// 最低售价
        /// </summary>
        public decimal? low_decimal { get; set; }
        /// <summary>
        /// 仓库编号
        /// </summary>
        public int? depot_id { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool delete_Flag { get; set; }
    }
}
